package com.androidlibrary.myapplication;

import android.util.Log;
import android.webkit.JavascriptInterface;

import com.jeremyliao.liveeventbus.LiveEventBus;

import org.wcy.android.utils.RxDataTool;

public class CallByAndroid {
    @JavascriptInterface
    public void ryShare(final String msg) {
        Log.i("aaaaaa--",msg+"-------------------------------------------");
        if(!RxDataTool.isNullString(msg)){
            LiveEventBus.get("ryShare").post(msg);
        }
    }
}
